Skip to content

Conversation

@xrstf
Copy link
Contributor

@xrstf xrstf commented Jun 16, 2025

Summary

We want to make it possible to have an agent running without it actively managing the CRDs (APIResourceSchemas) in kcp. Instead of adding a dedicated run mode sort of thing to the agent, we decided to instead allow to toggle individual controllers. This will not just allow to run a "sync-only" agent, but also to have a "CRD-only no-sync-pls" agent.

What Type of PR Is This?

/kind feature

Related Issue(s)

part of #74

Release Notes

Add `--disabled-controllers` to turn off one or more of the `apiresourceschema`, `apiexport` and/or `sync` controllers.

@kcp-ci-bot kcp-ci-bot added kind/feature Categorizes issue or PR as related to a new feature. release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has signed the DCO. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 16, 2025
Copy link
Member

@embik embik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 17, 2025
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: a9711ddb907f1b0a8b2641c0660a9ff30d14372c

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: embik

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 17, 2025
@kcp-ci-bot kcp-ci-bot merged commit a193058 into main Jun 17, 2025
8 of 9 checks passed
@kcp-ci-bot kcp-ci-bot deleted the crd-manager branch June 17, 2025 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants